/**
 * 
 */
package com.cea.papyrus.diagram.usecase.editpart;

import org.eclipse.draw2d.XYLayout;

import com.cea.papyrus.core.editpart.LayoutEditPolicy;
import com.cea.papyrus.diagram.usecase.command.UMLDi2ElementCreateFactory;

/**
 * @author dumoulin
 *
 */
public class UseCaseDiagramLayoutEditPolicy extends LayoutEditPolicy {

    /**
     * @param layout
     */
    public UseCaseDiagramLayoutEditPolicy(XYLayout layout) {
        super(layout);
    }

    /**
     * Return specific factory to provide specific commands
     */
    @Override
    protected UMLDi2ElementCreateFactory getCreateCommandFactory() {
        return UMLDi2ElementCreateFactory.eINSTANCE;
    }
    
    
}
